package com.gsmr.entity;

/**
* 服务器状态
*/
public class ServerState {

	private int id;
	private int serverId;
	private double cpuUsageRate;
	private double memoryUsageRate;
	private double harddiskUsageRate;
	private String processState;
	private String details;
	private long createTime;
	
	private String serverName;
	
	

	public String getServerName() {
		return serverName;
	}
	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	
	@Override
	public String toString() {
		return "ServerState [id=" + id + ", serverId=" + serverId + ", cpuUsageRate=" + cpuUsageRate
				+ ", memoryUsageRate=" + memoryUsageRate + ", harddiskUsageRate=" + harddiskUsageRate
				+ ", processState=" + processState + ", details=" + details + ", createTime=" + createTime
				+ ", serverName=" + serverName + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getServerId() {
		return serverId;
	}
	public void setServerId(int serverId) {
		this.serverId = serverId;
	}
	public double getCpuUsageRate() {
		return cpuUsageRate;
	}
	public void setCpuUsageRate(double cpuUsageRate) {
		this.cpuUsageRate = cpuUsageRate;
	}
	public double getMemoryUsageRate() {
		return memoryUsageRate;
	}
	public void setMemoryUsageRate(double memoryUsageRate) {
		this.memoryUsageRate = memoryUsageRate;
	}
	public double getHarddiskUsageRate() {
		return harddiskUsageRate;
	}
	public void setHarddiskUsageRate(double harddiskUsageRate) {
		this.harddiskUsageRate = harddiskUsageRate;
	}
	public String getProcessState() {
		return processState;
	}
	public void setProcessState(String processState) {
		this.processState = processState;
	}
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	public long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
}